<template>
<div>
	<Child/>
	<p>count:{{count}}</p>
</div>
</template>
<script setup>
import {provide,ref} from "vue"
import Child from "../components/Provide/Child.vue"
const count=ref(0)
provide("count",count)
provide("msg","你好，尚硅谷")
const increase=()=>{
	count.value++
}
provide("increase",increase)
</script>